﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="companyDataAnalysisSupply.aspx.cs"
    Inherits="PeisongWeb.admin.companyDataAnalysisSupply" %>

<%@ Register Assembly="OpenFlashChart" Namespace="OpenFlashChart" TagPrefix="cc1" %>
<%@ Register TagName="top" Src="controls/top.ascx" TagPrefix="uc1" %>
<%@ Register TagName="menu" Src="controls/menu.ascx" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>企业供应量统计 - 想购网长期采购物流配送系统</title>
    <!--#include file="style.inc"-->
</head>
<body>
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <uc1:top ID="Top1" runat="server" />
    <uc2:menu ID="Menu1" runat="server" />
    <div id="admin-body">
        <h2 class="section-cms">
            企业供应量统计
        </h2>
        <ext:Panel ID="Panel1" runat="server" Title="企业供应量搜索" BodyStyle="padding:5px 5px 0"
            Width="1120px" Frame="true" ButtonAlign="Center">
            <Body>
                <div id="admin_edit_content_search">
                    <ul>
                        <li style="width: auto; margin-right: 20px;">
                            <label style="width: 85px;">
                                企业名称：</label>
                            <asp:DropDownList runat="server" ID="ddlCompany" DataTextField="company" DataValueField="companyId">
                            </asp:DropDownList>
                        </li>
                        <li style="width: auto; margin-right: 20px">
                            <label>
                                年份：</label>
                            <asp:DropDownList runat="server" ID="ddlYear">
                                <asp:ListItem Value="2009">2009</asp:ListItem>
                                <asp:ListItem Value="2010" Selected="True">2010</asp:ListItem>
                                <asp:ListItem Value="2011">2011</asp:ListItem>
                                <asp:ListItem Value="2012">2012</asp:ListItem>
                                <asp:ListItem Value="2013">2013</asp:ListItem>
                                <asp:ListItem Value="2014">2014</asp:ListItem>
                                <asp:ListItem Value="2015">2015</asp:ListItem>
                                <asp:ListItem Value="2016">2016</asp:ListItem>
                                <asp:ListItem Value="2017">2017</asp:ListItem>
                                <asp:ListItem Value="2018">2018</asp:ListItem>
                                <asp:ListItem Value="2019">2019</asp:ListItem>
                                <asp:ListItem Value="2020">2020</asp:ListItem>
                            </asp:DropDownList>
                        </li>
                        <li style="width: auto; margin-right: 20px;">
                            <asp:RadioButton runat="server" ID="radModeM" GroupName="Mode" Checked="true" />月供应量
                        </li>
                        <li style="width: auto; margin-right: 10px;">
                            <asp:Button runat="server" ID="btnAnalysis" Text="确认" OnClick="btnAnalysis_Click" />
                        </li>
                    </ul>
                </div>
            </Body>
        </ext:Panel>
        <p>
            &nbsp;</p>
        <div id="admin_list_content" style="width: 1120px;">
            <div runat="server" id="dv1" visible="false">
                <cc1:OpenFlashChartControl ID="OpenFlashChartControl1" runat="server" EnableCache="false"
                    Width="1120px" Height="350px" LoadingMsg="数据加载中...">
                </cc1:OpenFlashChartControl>
                <table cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                    <tr>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="color: Blue;">
                            <b>报表解读</b>
                        </td>
                    </tr>
                    <tr style="display: none;">
                        <td align="right">
                            <span style="<%=power>=2?"": "display:none" %>">
                                <asp:LinkButton runat="server" ID="linkExport" Text="导出数据"></asp:LinkButton>
                            </span>
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0">
                    <tr class="header-row">
                        <th>
                            月份
                        </th>
                        <th>
                            供应量
                        </th>
                    </tr>
                    <asp:Repeater ID="rpt_list" runat="server">
                        <ItemTemplate>
                            <tr id="m<%# DataBinder.Eval(Container.DataItem,"month") %>" class='<%# Container.ItemIndex%2==0? "row-alt":"alt"  %>'>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem,"month")%>月
                                </td>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem,"totalAmount","{0:F2}")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        
    </script>

    </form>
</body>
</html>
